﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;

namespace AspNetObjectSourceFileSystem
{
    public class FilesGetter
    {
        public static string[] GetAllFiles(string folder)
        {
            string[] files = Directory.GetFiles(folder);
            return files;            
        }

        public static string[] GetAllDirectories(string folder)
        {
            string[] dirs = Directory.GetDirectories(folder);
            return dirs;
        }
    }
}